package com.tutu.annotation.dao.impl;

import com.tutu.annotation.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * @Program: Spring_New
 * @Description:
 * @Author: JK.TuTu
 * @Create: 2022-09-14 20:28
 **/
//@Repository 用于将数据访问层（DAO层）的类标识为 Spring 中的 Bean，其功能与 @Component 相同
@Repository
public class UserDaoImpl implements UserDao {

    @Override
    public void test() {
        System.out.println("UserDaoImpl执行test方法");
    }
}
